home *** CD-ROM | disk | FTP | other *** search
/ Freelog 115 / FreelogNo115-MaiJuin2013.iso / Internet / AvantBrowser / asetup.exe / _data / webkit / resources.pak / Unnamed File 000128.txt < prev    next >
Text File  |  2013-04-03  |  6KB  |  235 lines

  1. /* BASICS */
  2.  
  3. .CodeMirror {
  4.   /* Set height, width, borders, and global font properties here */
  5.   font-family: monospace;
  6.   height: 300px;
  7. }
  8. .CodeMirror-scroll {
  9.   /* Set scrolling behaviour here */
  10.   overflow: auto;
  11. }
  12.  
  13. /* PADDING */
  14.  
  15. .CodeMirror-lines {
  16.   padding: 4px 0; /* Vertical padding around content */
  17. }
  18. .CodeMirror pre {
  19.   padding: 0 4px; /* Horizontal padding of content */
  20. }
  21.  
  22. .CodeMirror-scrollbar-filler {
  23.   background-color: white; /* The little square between H and V scrollbars */
  24. }
  25.  
  26. /* GUTTER */
  27.  
  28. .CodeMirror-gutters {
  29.   border-right: 1px solid #ddd;
  30.   background-color: #f7f7f7;
  31. }
  32. .CodeMirror-linenumbers {}
  33. .CodeMirror-linenumber {
  34.   padding: 0 3px 0 5px;
  35.   min-width: 20px;
  36.   text-align: right;
  37.   color: #999;
  38. }
  39.  
  40. /* CURSOR */
  41.  
  42. .CodeMirror pre.CodeMirror-cursor {
  43.   border-left: 1px solid black;
  44. }
  45. /* Shown when moving in bi-directional text */
  46. .CodeMirror pre.CodeMirror-secondarycursor {
  47.   border-left: 1px solid silver;
  48. }
  49. .cm-keymap-fat-cursor pre.CodeMirror-cursor {
  50.   width: auto;
  51.   border: 0;
  52.   background: transparent;
  53.   background: rgba(0, 200, 0, .4);
  54.   filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6600c800, endColorstr=#4c00c800);
  55. }
  56. /* Kludge to turn off filter in ie9+, which also accepts rgba */
  57. .cm-keymap-fat-cursor pre.CodeMirror-cursor:not(#nonsense_id) {
  58.   filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  59. }
  60. /* Can style cursor different in overwrite (non-insert) mode */
  61. .CodeMirror pre.CodeMirror-cursor.CodeMirror-overwrite {}
  62.  
  63. /* DEFAULT THEME */
  64.  
  65. .cm-s-default .cm-keyword {color: #708;}
  66. .cm-s-default .cm-atom {color: #219;}
  67. .cm-s-default .cm-number {color: #164;}
  68. .cm-s-default .cm-def {color: #00f;}
  69. .cm-s-default .cm-variable {color: black;}
  70. .cm-s-default .cm-variable-2 {color: #05a;}
  71. .cm-s-default .cm-variable-3 {color: #085;}
  72. .cm-s-default .cm-property {color: black;}
  73. .cm-s-default .cm-operator {color: black;}
  74. .cm-s-default .cm-comment {color: #a50;}
  75. .cm-s-default .cm-string {color: #a11;}
  76. .cm-s-default .cm-string-2 {color: #f50;}
  77. .cm-s-default .cm-meta {color: #555;}
  78. .cm-s-default .cm-error {color: #f00;}
  79. .cm-s-default .cm-qualifier {color: #555;}
  80. .cm-s-default .cm-builtin {color: #30a;}
  81. .cm-s-default .cm-bracket {color: #997;}
  82. .cm-s-default .cm-tag {color: #170;}
  83. .cm-s-default .cm-attribute {color: #00c;}
  84. .cm-s-default .cm-header {color: blue;}
  85. .cm-s-default .cm-quote {color: #090;}
  86. .cm-s-default .cm-hr {color: #999;}
  87. .cm-s-default .cm-link {color: #00c;}
  88.  
  89. .cm-header, .cm-strong {font-weight: bold;}
  90. .cm-em {font-style: italic;}
  91. .cm-emstrong {font-style: italic; font-weight: bold;}
  92. .cm-link {text-decoration: underline;}
  93.  
  94. .cm-invalidchar {color: #f00;}
  95.  
  96. div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
  97. div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
  98.  
  99. /* STOP */
  100.  
  101. /* The rest of this file contains styles related to the mechanics of
  102.    the editor. You probably shouldn't touch them. */
  103.  
  104. .CodeMirror {
  105.   line-height: 1;
  106.   position: relative;
  107.   overflow: hidden;
  108. }
  109.  
  110. .CodeMirror-scroll {
  111.   /* 30px is the magic margin used to hide the element's real scrollbars */
  112.   /* See overflow: hidden in .CodeMirror, and the paddings in .CodeMirror-sizer */
  113.   margin-bottom: -30px; margin-right: -30px;
  114.   padding-bottom: 30px; padding-right: 30px;
  115.   height: 100%;
  116.   outline: none; /* Prevent dragging from highlighting the element */
  117.   position: relative;
  118. }
  119. .CodeMirror-sizer {
  120.   position: relative;
  121. }
  122.  
  123. /* The fake, visible scrollbars. Used to force redraw during scrolling
  124.    before actuall scrolling happens, thus preventing shaking and
  125.    flickering artifacts. */
  126. .CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler {
  127.   position: absolute;
  128.   z-index: 6;
  129.   display: none;
  130. }
  131. .CodeMirror-vscrollbar {
  132.   right: 0; top: 0;
  133.   overflow-x: hidden;
  134.   overflow-y: scroll;
  135. }
  136. .CodeMirror-hscrollbar {
  137.   bottom: 0; left: 0;
  138.   overflow-y: hidden;
  139.   overflow-x: scroll;
  140. }
  141. .CodeMirror-scrollbar-filler {
  142.   right: 0; bottom: 0;
  143.   z-index: 6;
  144. }
  145.  
  146. .CodeMirror-gutters {
  147.   position: absolute; left: 0; top: 0;
  148.   height: 100%;
  149.   z-index: 3;
  150. }
  151. .CodeMirror-gutter {
  152.   height: 100%;
  153.   float: left;
  154. }
  155. .CodeMirror-gutter-elt {
  156.   position: absolute;
  157.   cursor: default;
  158.   z-index: 4;
  159. }
  160.  
  161. .CodeMirror-lines {
  162.   cursor: text;
  163. }
  164. .CodeMirror pre {
  165.   /* Reset some styles that the rest of the page might have set */
  166.   -moz-border-radius: 0; -webkit-border-radius: 0; -o-border-radius: 0; border-radius: 0;
  167.   border-width: 0;
  168.   background: transparent;
  169.   font-family: inherit;
  170.   font-size: inherit;
  171.   margin: 0;
  172.   white-space: pre;
  173.   word-wrap: normal;
  174.   line-height: inherit;
  175.   color: inherit;
  176.   z-index: 2;
  177.   position: relative;
  178.   overflow: visible;
  179. }
  180. .CodeMirror-wrap pre {
  181.   word-wrap: break-word;
  182.   white-space: pre-wrap;
  183.   word-break: normal;
  184. }
  185. .CodeMirror-linebackground {
  186.   position: absolute;
  187.   left: 0; right: 0; top: 0; bottom: 0;
  188.   z-index: 0;
  189. }
  190.  
  191. .CodeMirror-linewidget {
  192.   position: relative;
  193.   z-index: 2;
  194. }
  195.  
  196. .CodeMirror-wrap .CodeMirror-scroll {
  197.   overflow-x: hidden;
  198. }
  199.  
  200. .CodeMirror-measure {
  201.   position: absolute;
  202.   width: 100%; height: 0px;
  203.   overflow: hidden;
  204.   visibility: hidden;
  205. }
  206. .CodeMirror-measure pre { position: static; }
  207.  
  208. .CodeMirror pre.CodeMirror-cursor {
  209.   position: absolute;
  210.   visibility: hidden;
  211.   border-right: none;
  212.   width: 0;
  213. }
  214. .CodeMirror-focused pre.CodeMirror-cursor {
  215.   visibility: visible;
  216. }
  217.  
  218. .CodeMirror-selected { background: #d9d9d9; }
  219. .CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
  220.  
  221. .CodeMirror-searching {
  222.   background: #ffa;
  223.   background: rgba(255, 255, 0, .4);
  224. }
  225.  
  226. /* IE7 hack to prevent it from returning funny offsetTops on the spans */
  227. .CodeMirror span { *vertical-align: text-bottom; }
  228.  
  229. @media print {
  230.   /* Hide the cursor when printing */
  231.   .CodeMirror pre.CodeMirror-cursor {
  232.     visibility: hidden;
  233.   }
  234. }
  235.